package org.example.factory.method;

/**
 * @author wangbin
 * @date 2024/4/17
 * @vesion 1.0
 */
public class BJOrderPizza extends OrderPizza{
    public BJOrderPizza(String orderType) {
        super(orderType);
    }

    @Override
    Pizza createdPizza(String orderType) {
        if(orderType.equals("BJ")){
            BeiJiPizza beiJiPizza = new BeiJiPizza();
        }else if(orderType.equals("BJChese")){
            BeiJiChesePizza beiJiPizza = new BeiJiChesePizza();

        }

        return null;
    }
}
